#Conditional Hooks

$State: GS_STATE_GAME_PLAY
$On Key Pressed:
[
if hv.Key == "Alt-3" then
	if RadarIcon.Enabled then
		RadarIcon:Disable()
	elseif not RadarIcon.Enabled then
		RadarIcon.Teams["Friendly"] = true
        RadarIcon.Teams["Hostile"] = true
        RadarIcon.Teams["Neutral"] = true
        RadarIcon.Teams["Traitor"] = true
        RadarIcon.Teams["Unknown"] = true
        RadarIcon.Enabled = true
        RadarIcon:LoadShips()
	end
end
]

#End